#!/bin/bash
#################################################################
# File: run_batch_sims.sh
# Co: The Neurosciences Institute
# Date: 05/02/2012
# Author: Richard G. Martin
# Purpose: Run multiple simulations with different seeds and 
# save the results.
#################################################################

START_SEED=1
NUM_RUNS=5
NUM_PROCS=8
DATE="08282012_newstation_V1reentry_new_recordings"

echo "Running Simulation Batch . . . "

#!/bin/bash
for (( i=0; i< $NUM_RUNS; i++ ))
do
		echo "Compiling Simulation . . ."
   ./compile $NUM_PROCS $((START_SEED+i))
		echo "Running Simulation . . . "
	 ./run_sim.sh 1 `pwd`
	 ./save_checkpoint.sh seed$((START_SEED+i))_${DATE}_mental_rotation_conditioning
done


